home *** CD-ROM | disk | FTP | other *** search
/ The Business Master (4th Edition) / The Business Master - 4th Edition.iso / files / cataging / sprtfot1 / install.dat < prev    next >
Encoding:
INSTALL Professional project  |  1993-03-01  |  3.7 KB  |  157 lines

  1. @DefineProject
  2.         @Name="Sportcheck Football Edition"
  3.         @Version="1993"
  4.         @Subdir="\\SPORTC\\"
  5.         @OutDrive       = C
  6. @EndProject
  7.  
  8. @Display
  9.         @Cls
  10.  
  11.         This program will install the @Version @Name
  12.         on your computer and verify the integrity of the distribution
  13.         disk(s).  You may press the [Esc] key at any time to abort the
  14.         installation.  INSTALL will ask you several questions about your
  15.         computer hardware and then copy @Name to the
  16.         appropriate disk drive.
  17.  
  18.         Each question has a default answer.  If the default answer is
  19.         correct, press the ENTER key in response to the question.
  20.         Otherwise, type the answer and then press the ENTER key.
  21.  
  22.         If you make a mistake while typing, press the BACKSPACE key
  23.         and then retype the answer.
  24.  
  25. @Pause
  26. @EndDisplay
  27.  
  28. @GetOutDrive
  29.         @Cls
  30.  
  31.     On which disk drive do you wish to install @Name?
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45. @EndOutDrive
  46.  
  47. @If(@DiskSize @OutDrive > 1100K)
  48.  
  49.     @Display
  50.             @Cls
  51.  
  52.  
  53.             @IF(@DiskFree @OutDrive < 1100K)
  54.                 The selected output disk drive only has
  55.                 @DiskFree @OutDrive bytes available.  This program
  56.                 requires approximately 1100000 bytes
  57.                 available to install.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                 @Pause
  64.                 @Abort
  65.             @EndIf
  66.  
  67.     @EndDisplay
  68.  
  69.  
  70.     @GetSubdir
  71.             @Cls
  72.             Now you need to specify the disk destination subdirectory.  The
  73.             subdirectory is the location on your disk where the program
  74.             will be installed.  If the subdirectory that you specify does
  75.             not currently exist, it will be created for you.
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.             @Prompt = "Which subdirectory ([Enter] = @Subdir) ?"
  85.     @EndSubdir
  86.  
  87.     @If (@Exists "@OutDrive:\\@Subdir\\FBCARDS.DBF")
  88.       @Display
  89.  
  90.       ***  WARNING  ***
  91.  
  92.       A previous version of Sportcheck Football Edition appears to be
  93.       already installed in the specified disk subdirectory.  Continuing
  94.       with this installation will overwrite the existing version and
  95.       any card data which had been previously entered will be lost.
  96.  
  97.       If you do not wish to continue with this installation and overwrite
  98.       the existing version of the Sportcheck program press ESCAPE at this
  99.       time.  Otherwise, press any other key to continue.
  100.  
  101.         @Pause
  102.       @EndDisplay
  103.     @EndIf
  104.  
  105.     @DefineDisk
  106.         @Label = "Installation Disk 1"
  107.             @File   MANUAL.DOC
  108.             @BeginLib FBFILES1.LIB
  109.                     @File    SPORTC.EXE
  110.                     @File    SPORTCF.EXE
  111.                     @File    SPORTC.CFG
  112.                     @File    SPORTCF.TOT
  113.                     @File    ORDER.DOC
  114.             @EndLib
  115.     @EndDisk
  116.  
  117.     @DefineDisk
  118.         @Label = "Installation Disk 2"
  119.             @BeginLib FBFILES2.LIB
  120.                     @File    FBCARDS.DBF
  121.                     @File    FBCARDC.DBF
  122.                     @File    FBVAL1.DBF
  123.                     @File    FBVAL2.DBF
  124.                     @File    FBVALC.DBF
  125.                     @File    FBPLAYER.DBF
  126.                     @File    FBSETS.DBF
  127.             @EndLib
  128.     @EndDisk
  129.  
  130. @Else
  131.     @Display
  132.         @Cls
  133.  
  134.         There is not enough free disk space available on drive @OutDrive:
  135.         to install the @Version @Name.  The selected
  136.         output disk drive has @DiskFree @OutDrive bytes available.  This program
  137.         requires approximately 1100000 bytes available to install.
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.     @Pause
  148.     @EndDisplay
  149.     @Abort
  150. @EndIf
  151.  
  152.  
  153. @Finish
  154.         @Cls
  155.         @ChDrive @OutDrive
  156.         @ChDir "@Subdir"
  157. @EndFinish